package Java7_Concurrency_Cookbook.thread_executor_framework.future_cancle;

import java.util.concurrent.Callable;

/**
 * @author lixiangke
 * @date 2017/11/18
 */
public class Task implements Callable<String> {
    @Override
    public String call() throws Exception {
        while (true) {
            System.out.printf("Zoom: Test\n");
            Thread.sleep(100);
        }
    }
}
